![]() | Register | FAQ | Members | Social Groups | User Map | Calendar | Search | Today's Posts | Mark Forums Read |
| EduGeek Joomla 1.0 Package Here it is, Sysmans everlasting contribution to education. The pretty website with BIG potential. Get it and advice here. |
| | | LinkBack | Thread Tools | Search Thread | Language |
| Sponsored Links |
| | #1 |
![]() | Some of you may know my Edugeek Joomla site is running slow. Someone suggested it could be the PHP configuration. I have attached out PHP.ini file, what changes can i make so speed my site up please? The site url is: Thanks Z Edit: please see below for apache config Last edited by FN-GM; 22-08-2008 at 09:19 PM.. |
| |
| | #2 |
![]() Join Date: May 2007 Location: Aberystwyth
Posts: 418
Thanks: 7
Thanked 42 Times in 42 Posts
Rep Power: 11 | Maybe install some caching - both APC and eaccelerator have commented sections in your config so might already be installed, worth having a read up and turning one of them on. You could turn off some of your php extentions if your not using them. Apart from that nothing that should especially affect performance. You could turn on gzip compression in apache for your images, etc. Cheers Jona Last edited by Jona; 11-07-2008 at 05:37 PM.. Reason: correction |
| |
| The Following User Says Thank You to Jona For This Useful Post: | FN-GM (11-07-2008) |
| | #4 | ||
![]() | Quote:
most of that means nothing to me as for the images, it downloads them fast once its started. It seems to be the initial reading of the php file. Quote: | ||
| |
| | #5 |
![]() Join Date: May 2007 Location: Aberystwyth
Posts: 418
Thanks: 7
Thanked 42 Times in 42 Posts
Rep Power: 11 | Caching - See: eAccelerator - Trac To enable it (if it's installed) uncomment this block in your php.ini PHP Code: extension=php_mssql.dll which if your not using a ms-sql database you can turn off. But this shouldn't have that much affect. I'm still slightly at a loose to know why your install is so slow are you sure it's php? Does the php load fast locally? Jona |
| |
| The Following User Says Thank You to Jona For This Useful Post: | FN-GM (11-07-2008) |
| | #6 |
![]() | What do you do about username and password? also is it installed with xampp by default? thanks |
| |
| | #8 |
![]() Join Date: May 2007 Location: Aberystwyth
Posts: 418
Thanks: 7
Thanked 42 Times in 42 Posts
Rep Power: 11 | |
| |
| | #9 |
![]() Join Date: May 2007 Location: Aberystwyth
Posts: 418
Thanks: 7
Thanked 42 Times in 42 Posts
Rep Power: 11 | I *think* the username and password only matter if you want to use the cache administration console wigget so just set them to what ever I think. I assume it is installed by default but I'm not sure because I use a WAMP stack built from scratch. |
| |
| | #10 | |
![]() | Quote:
Just done this rebooted the server and no change. | |
| |
| | #11 |
![]() Join Date: Feb 2007 Location: Kent
Posts: 1,310
Thanks: 38
Thanked 69 Times in 59 Posts
Rep Power: 18 | Are you sure it's PHP execution time holding up proceedings? It seems like it may be something else to me, as when I've viewed your site once each subsequent refresh is very fast, but it would be re-generating the page each time I press refresh, so if it were a PHP problem I'd expect it to take ages every time. I would possibly look at your apache configuration, and how the server is configured, as it could be the webserver delaying things, and not PHP. Just out of interest if you load the page on the server itself after clearing your cache, is it the same speed as viewing it externally?? Mike. Edit: you might like to try inserting some code in your template to time PHP execution. Back up your template first of course! Then put this at the top of the main template PHP code. $time_start = microtime(true); <<<<Rest of template code here>>> Put this at the end after everything else (inside the PHP identifier of course) $time_end = microtime(true); $time = $time_end - $time_start; echo "Page generated in $time seconds\n"; It should give you a time that PHP took to generate the page right at the bottom of every page. I would have used the code boxes, but they seem to have disappeared! Mike. Last edited by maniac; 11-07-2008 at 07:18 PM.. |
| |
| | #12 |
![]() Join Date: Oct 2005 Location: Isle of Wight
Posts: 1,900
Thanks: 2
Thanked 108 Times in 100 Posts
Rep Power: 29 | I did post on the other thread but it got eaten by farsehosts. If the speed is ok locally and on the same network then it's not a php issue. You say it's on another network. You aren't using ISA to publish the server are you as that has been unbelievebally awful when I used it with a php site in the past, often it would just halt on images. |
| |
| | #13 | ||
![]() | Quote:
i have attached to apache config, please help Quote:
Last edited by FN-GM; 11-07-2008 at 07:23 PM.. | ||
| |
| | #14 |
![]() Join Date: Oct 2005 Location: Isle of Wight
Posts: 1,900
Thanks: 2
Thanked 108 Times in 100 Posts
Rep Power: 29 | ServerName localhost:80 You could try changing this to the servers IP that may help. |
| |
| | #15 |
![]() | |
| |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apache 2.2 configuration | saundersmatt | Web Development | 3 | 12-07-2008 09:17 AM |
| Sophos configuration | Bobo | Windows | 4 | 27-06-2008 10:52 AM |
| VLAN Configuration | robknowles | Networks | 1 | 28-05-2008 04:01 AM |
| Office configuration | mseaney | Windows | 6 | 01-12-2005 01:38 PM |
| Scripting IP configuration. | Dos_Box | Scripts | 3 | 02-09-2005 09:07 AM |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search Thread |
|
|






