Hello
I'm new new to using Linux (using SuSE) and would like to continue developing my Apache/PHP/MySQL stuff that I worked on under Windows...Is there a simple step by step guide to installing this combo somewhere? (pref. using RPM)
Here is the problem:
I've installed Apache 2.0 with the PHP module and MYSQL. Apache appears to be running OK as I can enter
http://localhost and will get an index not found message (as I didn't install example pages.) So I copied all my PHP web site stuff into /srv/www/htdocs
Now when index.php is displayed by Apache I get the following error message.
Fatal error: Call to undefined function: session_start() in /srv/www/htdocs/index.php on line 3
PHP appears to be being parsed correctly as I can run a PHP test page using the following code:
<?php
echo "this is a PHP line";
phpinfo();
?>
Some of the output from phpinfo is below. What is this -- disable session and --without mysql stuff?
Configure Command:
'./configure' '--prefix=/usr' '--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli' '--without-pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork' 'i586-suse-linux'
Setting this up under seems a lot easier...what am I missing!
Thanks for any help