karstev
-
Posts
5 -
Joined
-
Last visited
Never
Posts posted by karstev
-
-
Please does anyone have any ideas, I am banging my head against a wall, seems I have done all that is mentioned and still cant get php to communicate with mySQL - mys system info is
PHP - 5.1.4
mySQL - 5.0
Appache 2.2.3
Windows XPSP2
I have updated my php.ini, set up the extension_dir = c:\php\ext (yes this path exists), uncommented extension=php_myql.dll.
placed the php.ini in my windows directory (just incase)as I updated my environment variable path to include c:\php, and this is confirmed when viewing my phpinfo. Copied the libmysql.dll to my windows directory, also put it in the system32 directory just to be sure. Made sure I stopped and restarted the server, heck I even shut down windows and restarted just to be sure..
Should I use another version of appache.
I know this has been posted many times but have been through all of recommended changes and cant seem to fix this issue.
Hope some one can help
-
As of now I am throwing away my templating system, that was the answer, cant believe it.
Thanks soooo much.
Karen -
Thanks Jeff but I definately have no spaces, all I have in the file is what I posted, I have even tried putting it all on the same line just to make sure and I still get the error.
-
This is doing my head in,
I am using php 5.1.4, Appache Server 2.2.3 on windows xp(sp2), I am just trying to get a simple session going, I have no complicated stuff, definately no spaces before my <?php declare, definately no spaces after ?>
my snytax is as follows, when I run this I cannot see a value for the variable, my session directory produces a file containing
"views|i:1;".
<?php
session_start();
$_SESSION['views'] = 1;
echo "Pageviews = ". $_SESSION['views'];
?>
Im pretty sure my php.ini settings are correct as I have reinstalled, followed all the tutes
----------------------- session settings ---------------------------------------
session.auto_start - off
session.use_trans_sid - 0
session.use_only_cookies - off
session.use_cookies - on
Cannot send session cookie - headers already sent by (url)
in PHP Coding Help
Posted