darkcarnival Posted November 19, 2006 Share Posted November 19, 2006 hi,just upgraded to 5.2.0 and last night I was working on getting all my extension to work ,which i managed to do and then i shut-off my machine for the night.now php isnt working :onot sure whats wrong, as i followed everything the install said and I didnt edit anything too much.now just a thought, when i uninstalled the previous version(5.1.5) some of the files were still there, could that be my problem?thanks. Quote Link to comment https://forums.phpfreaks.com/topic/27774-problem-with-php-520/ Share on other sites More sharing options...
darkcarnival Posted November 19, 2006 Author Share Posted November 19, 2006 to update:php is not 100% not working but for some reason some things arent working at all.like when i try to do phpinfo, i get a blank screen, some of my scripts act like php doesnt exist.now i know my scripts can run on this version as it does very well on a host im on.if you need any further detail let me know. Quote Link to comment https://forums.phpfreaks.com/topic/27774-problem-with-php-520/#findComment-127068 Share on other sites More sharing options...
wildteen88 Posted November 19, 2006 Share Posted November 19, 2006 How is PHP configured with the server? What server are you using (Apache, IIS or other).Also are using the short tags (<? ?>) when coding your PHP Scripts? If you are then use the full tags (<?php ?>) or enable the short_open_tags directive in the php.ini Quote Link to comment https://forums.phpfreaks.com/topic/27774-problem-with-php-520/#findComment-127080 Share on other sites More sharing options...
darkcarnival Posted November 19, 2006 Author Share Posted November 19, 2006 im using apache 2.0.xand php 5.2.0 automatically configed apache for me.when it did it, it used a module to setup php on apache, though im never had success with that for some reason.now i still had the cgi method setup on there too from the last time and i removed that but still it doesnt work.and yes i am using <? ?> and enabled the short_tag item. Quote Link to comment https://forums.phpfreaks.com/topic/27774-problem-with-php-520/#findComment-127082 Share on other sites More sharing options...
wildteen88 Posted November 19, 2006 Share Posted November 19, 2006 To see if PHP is having trouble starting up open up your php.ini and enable the display_startup_errors directive:display_startup_errors = OnSave the php.ini restart Apache. Do you get any errors displayed on Apache startup? Quote Link to comment https://forums.phpfreaks.com/topic/27774-problem-with-php-520/#findComment-127085 Share on other sites More sharing options...
darkcarnival Posted November 19, 2006 Author Share Posted November 19, 2006 well to update i got php to work, i forgot to remove something from the cgi setup i was during for php 5.1.5but phpmyadmin is still acting up, i have mysql 4.1.21 and mysqli enabled so i dont know whats wrong. Quote Link to comment https://forums.phpfreaks.com/topic/27774-problem-with-php-520/#findComment-127086 Share on other sites More sharing options...
wildteen88 Posted November 19, 2006 Share Posted November 19, 2006 Whats up with phpMyAdmin? Are you getting the [b]Cannot load mysql extension. Please check your PHP configuration[/b] message?If you have the mysqli extension enabled you will need to tell phpMyAdmin that, otherwise by default it will use the standard mysql library (php_mysql.dll).To tell phpMyAdmin to use the mysqli library you'll need to find the configuration file (config.inc.php) in the root of the phpMyAdmin folder and search for this line:[code=php:0]$cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')[/code]Change 'mysql' to 'mysqli'Save the config file and reload phpMyAdmin. Also the mysqli extension is designed to be used with MySQL4.1.3. or above. If you have MySQL4.1.2 or below then you should use the standard MySQL library (php_mysql.dll) Quote Link to comment https://forums.phpfreaks.com/topic/27774-problem-with-php-520/#findComment-127091 Share on other sites More sharing options...
darkcarnival Posted November 20, 2006 Author Share Posted November 20, 2006 no the issue is with the design.for some reason the formatting is all screwed up but it is still working just fine :?if you wish to see a screenshot of this, please let me know. Quote Link to comment https://forums.phpfreaks.com/topic/27774-problem-with-php-520/#findComment-127265 Share on other sites More sharing options...
darkcarnival Posted November 20, 2006 Author Share Posted November 20, 2006 ok i got it working.first disply_errors was off.turned it on and found my session path was incorrect. fixed it now ebverything is working just fine :)thank you for your help man :) Quote Link to comment https://forums.phpfreaks.com/topic/27774-problem-with-php-520/#findComment-127278 Share on other sites More sharing options...
wildteen88 Posted November 20, 2006 Share Posted November 20, 2006 No problem. Yes it is advised to turn on display_errors and set your error_reporting level to E_ALL on development boxes. Quote Link to comment https://forums.phpfreaks.com/topic/27774-problem-with-php-520/#findComment-127552 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.