You are here: Php, Apache, MySQL stand alone and XAMP application : install and running thing... « PHP Language « IT news, forums, messages
Php, Apache, MySQL stand alone and XAMP application : install and running thing...

Posted by psnospam on 01/21/07 09:25

Hello,

Following this matter posted under this thread (subject/topic) :

Php newbie ; $connection and <?=$_SERVER['PHP_SELF']?>

---o---

THE STORY:

Part 1:

I have installed Php, MySQL and Apache (latest version as for late
December/early January)... on a notebook that I can't access anymore
because of geographic dispatch...Notebook runs with XP PROFESSIONAL ED.

Following this installed, I have tested every app and everything worked
like the book said (my sql was running and showing tables, Apache="it
works" and Php scripts seemed to work). Until a few script not from my
creation but from a tutorial Php book wouldn't work (it was most of the
time scripts about forms).
So I posted a thread with less elements than now and among replies, one
was to install a Xamp application. I decided to go for that as the
other alternative was to change the script until something that was not
in the book. I don't think the book I learn with holds the truth but at
a learning stage, I don't see why one would come here to understand
what is said in the book...

Part 2:

I "gave away" this notebook with this install (although I am still in
contact with person who uses it) and I and back home I went on to start
to install the same application. Then, difficulty started to appear. I
have to say first that this time the notebook runs under XP Home Ed.
and maybe more important, in the past, previous version of MySQL or Php
my have been installed as stand alone versions but not working (only
files my have been on the hard drive juste making things messy...).
However, PhpMyAdmin was running and working. I deleted everything (I
hope) and went on for the same install as on the previous notebook.

Part 3:

This install wouldn't work (MySQL would but Php and Apache together
wouldn't). The matter was about httpd.config file. The modification of
this file to set the path for : '''loadmodule php5_module
"c:\php\php5apache2.dll''' wouldn't work in a sense that checking if
php5apache2.dll was there would tell me it wasn't. Other modifications
from the book had to be done and I did (addtype...SetEnv).

So I went on to contact the person who was had access to my previous
installation and ask him about the same script on his comp and he said
the file on his system is php5apache2_2.dll. He even sent me a zip file
of the Php folder I had installed and I didn't pay attention but at
that time this file was there in numerous version (php5apache2.dll,
php5apache2_2.dll, php5apache2_2.zip, php5apache2_2_filter.dll and so
on). At the time of this installation, I remember I met a few
difficulties with this httpd.conf file but I can't remember what I
did...

Part 4:

I spent one evening turning the problem around and Php wouldn't work.
Thinking about a year ago I made experiment on the hard drive
installing Apache, Php, Perl server without any idea about what it
really was as I was already using PhpMyAdmin... Now I want to
understand most certain at a production level and maybe later at a
development level what is behind PhpMyAdmin or any bundled GUI
interface.

Other users seemed to experience the same matter with the missing file.
However this gap was officially solved for a previous version of Apache
or Php (the solution would apply until 2.2.3 version I think when I had
downloaded 2.2.4. version...) Anyway, in any case, it wouldn't work.

Part 5:

I went on to install Xamp as advise in a previous post.

Now everything works fine and after now a day, I have the feeling that
a few form scripts that wouldn't work on the standalone Apache, Php,
MySql would now work on this Xamp install.



Where I am confused:

- is Php able to work "half way" depending on the installation made?
Like how come was Php able to work fine with simple scripts on the
first notebook when it seemed the install wasn't that clean???
For instance a simple script that would draw a table from a form input
that asks for a number for the lines and a number for the colums
wouldn't draw the table on my first install and now with Xamp it's
drawing a table.

- Xamp is there, on my system as a complete solution. However I don't
understand why the httpd.conf file in xamp folder is not set to work
with Php, no path to php5apache2 ???

- Xamp is complete. Is it complete about password and security? What I
mean is that I have the feeling there are 2 levels of security on Xamp,
one that hosts password in binary files and one that holds them in text
files. With all those applications working or accessible, is the
security higher on Xamp as on a stand alone Php, MySql, Apache version
?

- will I be able to install Php, MySQL, Apache as a stand alone full
working production server on a system provided no installation was made
before? Is security higher will less applications running or installed
at once?

To conclude:

It's been only a day I am working with Xamp and my main skill in not
related to computers (accounting), you might find some of my question
silly. Anyway, I have respect for any software/applications.

Pascal

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация