PHP5 and SuSE 10 Problem - Help Please
Hi, After having numerous problems after upgrade from 9.3 to 10.0 (i.e. dead USB), I simply reformatted my HD and installed SuSE 10 from scratch. Everything is almost fine except PHP5.04 - none of PHP program is working. I have configured Apache2 with YaST2 http module, enabled PHP5 and disabled php4 module. I simply cannot figure out what have happened. Looks like PHP interpreter cannot find any include even if it is located in the same dir as running script. Anyone have an idea what went wrong? In teh 9.3 the same setup worked without any problem. [client 127.0.0.1] PHP Warning: main(./libraries/lib.inc.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /srv/www/htdocs/phpPgAdmin/index.php on line 10 [client 127.0.0.1] PHP Warning: main() [<a href='function.include'>function.include</a>]: Failed opening './libraries/lib.inc.php' for inclusion (include_path='/usr/share/php5') in /srv/www/htdocs/phpPgAdmin/index.php on line 10 [client 127.0.0.1] PHP Notice: Undefined variable: misc in /srv/www/htdocs/phpPgAdmin/index.php on line 11 [client 127.0.0.1] PHP Fatal error: Call to a member function printHeader() on a non-object in /srv/www/htdocs/phpPgAdmin/index.php on line 11 [client 127.0.0.1] PHP Warning: main(./libraries/lib.inc.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /srv/www/htdocs/phpPgAdmin/index.php on line 10 [client 127.0.0.1] PHP Warning: main() [<a href='function.include'>function.include</a>]: Failed opening './libraries/lib.inc.php' for inclusion (include_path='/usr/share/php5') in /srv/www/htdocs/phpPgAdmin/index.php on line 10
Andrei, Maybe php5 support isn't in SuSE 10 (by mistake or design perhaps)? When I setup apache with the http server layer of yast (under network services, I think), and enable mod php5, I get a warning window saying that I need to install the apache-core_php5 package. Clicking OK for that doesn't seem to do anything. And checking yast afterwards shows php5 still disabled. Furthermore, yast software install (or pin, for that matter) do not show any php5 packages. I have SuSE 10 64. -- Adalberto On Saturday 15 October 2005 06:52, Andrei Verovski (aka MacGuru) wrote:
Hi,
After having numerous problems after upgrade from 9.3 to 10.0 (i.e. dead USB), I simply reformatted my HD and installed SuSE 10 from scratch. Everything is almost fine except PHP5.04 - none of PHP program is working.
I have configured Apache2 with YaST2 http module, enabled PHP5 and disabled php4 module. I simply cannot figure out what have happened. Looks like PHP interpreter cannot find any include even if it is located in the same dir as running script.
Anyone have an idea what went wrong? In teh 9.3 the same setup worked without any problem. [...]
Hi Andrei & Adalberto, You probably ought to spend some time studying these: Packages Only on the Dual Layered DVD of SUSE Linux 10.0 http://www.novell.com/coolsolutions/tip/16076.html also: Packages on the retail version and not the OSS version of SUSE Linux 10.0 http://www.novell.com/coolsolutions/tip/16015.html regards, - Carl
On Sunday 16 October 2005 18:55, Carl Hartung wrote:
Hi Andrei & Adalberto,
You probably ought to spend some time studying these:
Packages Only on the Dual Layered DVD of SUSE Linux 10.0 http://www.novell.com/coolsolutions/tip/16076.html
Not at all. They are in SuSE 10 apt repository. mirrors.mathematik.uni-bielefeld.de /pub/linux/suse/apt/SuSE/10.0-i386/
On Sunday 16 October 2005 12:46, Andrei Verovski (aka MacGuru) wrote:
Not at all. They are in SuSE 10 apt repository.
mirrors.mathematik.uni-bielefeld.de /pub/linux/suse/apt/SuSE/10.0-i386/
That was my point. The articles I linked to show that PHP5 isn't on any of the download or retail CD/DVD *ISOs*, but they're available via ftp. Whether you use an apt or a YaST installation source is up to you. regards, - Carl
I installed PHP 5 on my system. You have to be careful as you scroll down the list. It seems that suse pick PHP4 as the default and you need to remove all traces of it before you can add php 5 on. Adalberto Castelo wrote:
Andrei,
Maybe php5 support isn't in SuSE 10 (by mistake or design perhaps)?
When I setup apache with the http server layer of yast (under network services, I think), and enable mod php5, I get a warning window saying that I need to install the apache-core_php5 package. Clicking OK for that doesn't seem to do anything. And checking yast afterwards shows php5 still disabled.
Furthermore, yast software install (or pin, for that matter) do not show any php5 packages.
I have SuSE 10 64.
-- Adalberto
On Saturday 15 October 2005 06:52, Andrei Verovski (aka MacGuru) wrote:
Hi,
After having numerous problems after upgrade from 9.3 to 10.0 (i.e. dead USB), I simply reformatted my HD and installed SuSE 10 from scratch. Everything is almost fine except PHP5.04 - none of PHP program is working.
I have configured Apache2 with YaST2 http module, enabled PHP5 and disabled php4 module. I simply cannot figure out what have happened. Looks like PHP interpreter cannot find any include even if it is located in the same dir as running script.
Anyone have an idea what went wrong? In teh 9.3 the same setup worked without any problem.
[...]
-- Joseph Loo jloo@acm.org
participants (4)
-
Adalberto Castelo
-
Andrei Verovski (aka MacGuru)
-
Carl Hartung
-
Joseph Loo