View previous topic :: View next topic |
Author |
Message |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
|
matti -
Joined: 12 May 2007 Posts: 2
|
Posted: Sat May 12, 2007 4:51 pm Post subject: Curl inclusion in Mac PHP? |
|
|
Just got a surprise - I upgraded my system to Mac from Windows, and in the process switched over from the Windows to Mac OS X version of Abyss. Everything went fine until I loaded a PHP file that relies on the Curl extension. Turns out that the supplied/recommended Windows PHP package includes the Curl library, but the Mac version does not.
In the interest of cross-platform consistency (not to mention my sanity), could Aprelium make the Windows and Mac preconfigured packages match item-for-item? Meanwhile, any suggestions on how to inject the Curl extension on the Mac side?
This is the first problem I've ever had with Abyss, by the way - in all other respects, it's been a great help, and I recommend it all the time.
Thanks much ... |
|
Back to top |
|
|
marc2003 -
Joined: 04 Feb 2004 Posts: 15
|
Posted: Sat May 12, 2007 5:15 pm Post subject: |
|
|
quick question.... what's the difference between these packages and the packages from php.net? because your package works fine whereas i cannot get the package from php.net to work. i get internal server error 500 just trying to do a phpinfo() and nothing useful in the log either. :?
i even copied my php.ini from my working installation and still the php.net package won't work. |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sat May 12, 2007 5:44 pm Post subject: |
|
|
marc2003 wrote: | quick question.... what's the difference between these packages and the packages from php.net? |
Aprelium's is much more faster to setup and configure. |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat May 12, 2007 5:44 pm Post subject: |
|
|
Its preconfigured, meaning it has common extensions enabled and dll's installed for you. The one from php.net does not. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
marc2003 -
Joined: 04 Feb 2004 Posts: 15
|
Posted: Sat May 12, 2007 10:13 pm Post subject: |
|
|
hmmn. doesn't really answer my question. the php.net package causes internal server errors when trying to serve even the simplest php page such as phpinfo(). as i mentioned above, copying the php.ini file made no difference so i was wondering if there was actually any difference in the actual files themeselves, not just the config. :)
i compared the 2 php.ini's side by side and apart from the extensions they load (gd and a few db related ones), and aprelium enabling register_globals and short tags, there is no difference. this is what leads me to believe some other files must be different? :confused: |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat May 12, 2007 10:15 pm Post subject: |
|
|
I honestly can't say without looking at the two different configurations. Are you sure you set the correct file to be the interpreter? php-cgi.exe? _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
marc2003 -
Joined: 04 Feb 2004 Posts: 15
|
Posted: Sun May 13, 2007 6:23 pm Post subject: |
|
|
haha. i is noob. i didn't notice the php.net package has the extensions in their own subdirectory named "ext". i didn't change the path in the php.ini.. sorry guys... :embarassed: |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon May 14, 2007 1:47 pm Post subject: Re: Curl inclusion in Mac PHP? |
|
|
matti wrote: | This is the first problem I've ever had with Abyss, by the way - in all other respects, it's been a great help, and I recommend it all the time. |
It seems that it's not a problem with Abyss Web Server but rather a problem with the PHP package. :-)
Anyway, you are right about the difference between both packages. Producing the PHP package for Mac OS X is a nightmare. Actually, PHP and each of its extensions rely on external libraries. So building all of them requires a lot of work and several hours of compilation and tests.
Currently, we have only included the most popular extensions with the PHP/Mac package. So we're going to add the CUrl extension as you requested. Please expect it to be ready by the next week (email as at support@aprelium.com to be sure to receive it when ready). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon May 14, 2007 1:50 pm Post subject: |
|
|
marc2003,
We use the files contained in the Zip package from php.net but we add a little magic to make things work flawlessly:
* php.ini is preset with common extension and with parameters enabling compatibilty with PHP 4 scripts.
* Extensions and their dependencies are correctly set (so there is no need for modifying your PATH variable or for putting junk in your system files).
* Several other minor tweaks. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
matti -
Joined: 12 May 2007 Posts: 2
|
Posted: Mon May 14, 2007 2:50 pm Post subject: |
|
|
Aprelium,
Thanks for the quick response. Didn't realize the Mac PHP build was such a nuisance, but it's great to know you'll have CUrl in the next version. With any luck, this will be handy for some other folks, too.
Much appreciated. |
|
Back to top |
|
|
jibbajabba -
Joined: 06 Sep 2005 Posts: 241 Location: England, Doncaster
|
|
Back to top |
|
|
puertoblack2003 -
Joined: 08 Oct 2006 Posts: 87
|
Posted: Mon May 28, 2007 2:12 am Post subject: |
|
|
so far so good should i have overwriten the php.ini... ???
thanksz |
|
Back to top |
|
|
admin Site Admin
Joined: 03 Mar 2002 Posts: 1295
|
Posted: Tue May 29, 2007 12:20 am Post subject: |
|
|
puertoblack2003 wrote: | so far so good should i have overwriten the php.ini... ??? |
What is the problem you are having with php.ini? _________________ Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com |
|
Back to top |
|
|
puertoblack2003 -
Joined: 08 Oct 2006 Posts: 87
|
Posted: Tue May 29, 2007 1:15 am Post subject: |
|
|
admin wrote: | puertoblack2003 wrote: | so far so good should i have overwriten the php.ini... ??? |
What is the problem you are having with php.ini? |
na so far but it ask that at the ending of installing it... |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue May 29, 2007 5:23 pm Post subject: |
|
|
puertoblack2003,
If you are upgrading your PHP setup, the installer will detect the presence of your php.ini and will offer to preserve it. So unless you want to reset your php.ini, have the installer keep the already present php.ini. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
rrinc -
Joined: 24 Feb 2006 Posts: 725 Location: Arkansas, USA
|
Posted: Mon Jul 02, 2007 5:36 am Post subject: |
|
|
Sorry to bump, but do you plan on releasing a PHP 5.2.3 package? Or instead maybe hold out and make a 5.2.4 release when its out. _________________ -Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados. |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Jul 02, 2007 11:44 am Post subject: |
|
|
rrinc,
A preconfigured PHP 5.2.3 package will be ready soon. Sorry for the delay to prepare it (we are busy with the new Beta). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|