I just install lamp and have Apache2, mysql working, and installed php5,Tried to open file for phpinfo on my server but it wont open?I get an error message,
Not Found
The requested URL /info.php was not found on this server.
Apache/1.3.34 Server at localhost Port 80
Index of /info.php
Name Last modified Size Description
[DIR] Parent Directory 15-Mar-2007 15:54 -
Apache/1.3.34 Server at localhost Port 80
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
php.info?
Sorry I thought I installed apache2, was wrong
Server version: Apache/1.3.34 (Debian)
Server built: Mar 4 2007 01:34:14
However I do have phpinfo,php in the /var/www directory and it wont open in the server?
Index of /phpinfo.php
Name Last modified Size Description
[DIR] Parent Directory 15-Mar-2007 15:56 -
Apache/1.3.34 Server at localhost Port 80
Server version: Apache/1.3.34 (Debian)
Server built: Mar 4 2007 01:34:14
However I do have phpinfo,php in the /var/www directory and it wont open in the server?
Index of /phpinfo.php
Name Last modified Size Description
[DIR] Parent Directory 15-Mar-2007 15:56 -
Apache/1.3.34 Server at localhost Port 80
Sorry I thought I installed apache2, was wrong
Server version: Apache/1.3.34 (Debian)
Server built: Mar 4 2007 01:34:14
However I do have phpinfo,php in the /var/www directory and it wont open in the server?
Index of /phpinfo.php
Name Last modified Size Description
[DIR] Parent Directory 15-Mar-2007 15:56 -
Apache/1.3.34 Server at localhost Port 80
debian:~# apt-get install php5
Reading package lists... Done
Building dependency tree... Done
php5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ebian:~# mysql --version
mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using readline 5.2
Server version: Apache/1.3.34 (Debian)
Server built: Mar 4 2007 01:34:14
However I do have phpinfo,php in the /var/www directory and it wont open in the server?
Index of /phpinfo.php
Name Last modified Size Description
[DIR] Parent Directory 15-Mar-2007 15:56 -
Apache/1.3.34 Server at localhost Port 80
debian:~# apt-get install php5
Reading package lists... Done
Building dependency tree... Done
php5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ebian:~# mysql --version
mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using readline 5.2
debian:/etc/apache2# apt-get install libapache-mod-php5 php5-mysql
Reading package lists... Done
Building dependency tree... Done
libapache-mod-php5 is already the newest version.
php5-mysql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
debian:/etc/apache2# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
debian:/etc/apache2# apt-get upgrade apt-get install libapache-mod-php5 php5-mysql
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
libapache-mod-php5 is already the newest version.
php5-mysql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
debian:/etc/apache2# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
debian:/etc/apache2# apt-get upgrade apt-get install libapache-mod-php5 php5-mysql
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
might be a little late....
<?php phpinfo(); ?>
is that inside your info.php script? Is it located in your doc root? I would double check your httpd. conf file, and not trust the default directory structure of /var/www/.
Just a thought
is that inside your info.php script? Is it located in your doc root? I would double check your httpd. conf file, and not trust the default directory structure of /var/www/.
Just a thought