[Bug 245015] [NEW] php5 install does not work
sergey
sergeyshanygin at yahoo.com
Wed Jul 2 22:34:02 BST 2008
Public bug reported:
Binary package hint: php5
Installed apache via synaptics, successfully.
Needed PHP
Installed php5, does not work.
Symptom:
When trying to open a *.php page containing <?php phpinfo(); ?> on my apache server all I get is a message box asking me if I want to save or open the page.
Contents of /var/log/apache/error.log does not show a php entry.
After a day of Google found the cause: installation program does not create a file php5.load. Manually creating it and putting a line
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
then placing it in the /etc/apache2/mods-availible and making a soft
link to /etc/apache2/mods-enabled helped. After restarting Apache
phpinfo worked just fine.
Ubuntu Hardy
Description: Ubuntu 8.04.1
Release: 8.04
Partial output of phpinfo:
PHP Version 5.2.4-2ubuntu5.1
System Linux homebase 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686
Build Date May 9 2008 16:14:00
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php5/apache2
Loaded Configuration File /etc/php5/apache2/php.ini
Scan this dir for additional .ini files /etc/php5/apache2/conf.d
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams zip, php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*
--------------------------------------------------------------cut---------
apt-cache policy php5
php5:
Installed: 5.2.4-2ubuntu5.1
Candidate: 5.2.4-2ubuntu5.1
Version table:
*** 5.2.4-2ubuntu5.1 0
500 http://se.archive.ubuntu.com hardy-updates/main Packages
100 /var/lib/dpkg/status
5.2.4-2ubuntu5 0
500 http://se.archive.ubuntu.com hardy/main Packages
apt-cache policy apache2
apache2:
Installed: 2.2.8-1ubuntu0.3
Candidate: 2.2.8-1ubuntu0.3
Version table:
*** 2.2.8-1ubuntu0.3 0
500 http://se.archive.ubuntu.com hardy-updates/main Packages
100 /var/lib/dpkg/status
2.2.8-1 0
500 http://se.archive.ubuntu.com hardy/main Packages
------------------------------------------------------------------------------------
This behavior happends even if I use apt-get directly.
** Affects: php5 (Ubuntu)
Importance: Undecided
Status: New
--
php5 install does not work
https://bugs.launchpad.net/bugs/245015
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list