Entropy.ch Discussion Forums Forum Index Entropy.ch Discussion Forums
Discussion forums about Mac OS X software development.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Leopard: PHP 5.2.5 Release 6 BETA
Goto page Previous  1, 2, 3, 4 ... 9, 10, 11  Next
 
Post new topic   Reply to topic    Entropy.ch Discussion Forums Forum Index -> PHP on Mac OS X
View previous topic :: View next topic  
Author Message
pilif



Joined: 07 Apr 2006
Posts: 1

PostPosted: Tue Jan 29, 2008 22:39    Post subject: Reply with quote

kickme wrote:
PEAR works fine, however PECL doesn't.

Marc, any idea when PECL extensions (especially xdebug) will work?


this may have been said later in the thread, but at least I managed to compile XDebug under leopard when using the entropy betas. The thing I did was to manually download the extension, unpack it, run phpize (the one from the entropy installation) and then launch configure with

CFLAGS='-arch x86_64' ./configure ...

That way (after make and make install of course) I got a .so that could be loaded and used on my Mac Pro running Leopard.

Philip
Back to top
View user's profile Send private message
Synchro



Joined: 28 Jan 2008
Posts: 6

PostPosted: Tue Jan 29, 2008 23:44    Post subject: Where to set CFLAGS globally? Reply with quote

Speaking of setting CFLAGS and friends, I've often referred to this page for compiler optimisation settings and set them globally in my Linux environments, usually in /etc/profile, zshenv etc. Where should these be set in OS X so that they are always defined?
Back to top
View user's profile Send private message
caballero



Joined: 16 Nov 2007
Posts: 9

PostPosted: Fri Feb 01, 2008 19:34    Post subject: Reply with quote

Hey marc,

beta 6 installs great.
machine runs: ppc64

phpmyadmin is working. zend framework is working. Mcrypt is working.

interesting thing about mcrypt is that all my old passwords will not work now. I'm sure it has something to do with moving from 32bit to 64bit. That will be fun as I have used it on many projects.

I used pecl to compile apc and added "extension=apc.so" to the php.ini but it is not coming up on phpinfo(). (/usr/local/php5/bin/pecl) Anyone on this forum have any suggestions as to what is going wrong?

Beta 6 looks pretty good so far with some minor exceptions. I can see using it on a production machine. I, of course, will wait for the tricked out version.

Marc, thanks for all your hard work. You the man.

Jeff


Last edited by caballero on Sun Feb 03, 2008 19:49; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
RobbieB



Joined: 09 Dec 2007
Posts: 2

PostPosted: Sat Feb 02, 2008 17:55    Post subject: mssql results Reply with quote

Marc,
Thanks so much for building in mssql. While Beta6 works fine on my Xserve (64-bit/Intel), it does fail on a PowerBook G4 (32-bit/PPC). I get an "Unable to connect to server" warning from mssql_connect().
Back to top
View user's profile Send private message
codethought



Joined: 03 Feb 2008
Posts: 3

PostPosted: Sun Feb 03, 2008 22:44    Post subject: Reply with quote

I've been trying to get GDLib and the PHP that comes with Leopard working together to no avail. So a couple of questions:

- Does this distro include GDLib?
- Will this distro install on Leopard 10.5.1 client along side the Apache server that comes with 10.5 client?

EDIT: I see after reading the start of this thread a little more closely (curse these tired eyes and addled brain) my questions were already answered.

Thanks for all of your hard work on this build.


Last edited by codethought on Sat Feb 09, 2008 20:11; edited 1 time in total
Back to top
View user's profile Send private message
ghostwheel



Joined: 03 Feb 2008
Posts: 5

PostPosted: Sun Feb 03, 2008 22:47    Post subject: mysql connection issues Reply with quote

any word on a fix for the mysql connection issues?
Back to top
View user's profile Send private message
valter



Joined: 31 Jan 2008
Posts: 1

PostPosted: Mon Feb 04, 2008 12:38    Post subject: Reply with quote

mssql PDO is very welcome too Smile

Thanks
Back to top
View user's profile Send private message
sfstreet



Joined: 27 Jan 2008
Posts: 16
Location: San Francisco, CA

PostPosted: Tue Feb 05, 2008 6:03    Post subject: Reply with quote

I am dying to get this version for Leopard. Is there a full beta coming? The only thing I need is my GD to work. Thanks Marky..
Back to top
View user's profile Send private message Visit poster's website
liyanage
Site Admin


Joined: 22 May 2003
Posts: 1104
Location: Zurich, Switzerland

PostPosted: Tue Feb 05, 2008 14:23    Post subject: Reply with quote

sfstreet wrote:
I am dying to get this version for Leopard. Is there a full beta coming? The only thing I need is my GD to work. Thanks Marky..


GD should already work in this version.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
shl



Joined: 05 Feb 2008
Posts: 6

PostPosted: Tue Feb 05, 2008 17:09    Post subject: Reply with quote

any hints, how to include pdflib in your package???
Tried it with my ini file and an extension setting, but seems to be some more difficult than only adding one line Sad

would be really nice...

not to forget: thanks a lot, you helped me like many others a lot with your efforts...
Keep on supporting it!

cheers
Back to top
View user's profile Send private message
coachjs



Joined: 29 Jan 2008
Posts: 1
Location: Cumberland, Maine USA

PostPosted: Thu Feb 07, 2008 17:54    Post subject: PDFlib Reply with quote

Marc,

I too would really appreciate having the PDFlib extension.

Thanks for all your excellent work!
Back to top
View user's profile Send private message Visit poster's website
LarryS



Joined: 08 Feb 2008
Posts: 1
Location: Black Hills, South Dakota

PostPosted: Sat Feb 09, 2008 2:03    Post subject: CGI SAPI? Reply with quote

HI,

I'm moving all my users on my new Xserve over to a suexec/cgi setup, for security purposes. While I can test your php apache module, I can not test anything to do with the cgi setup. Can you make the cgi version available as well for beta-testing?

Larry
Back to top
View user's profile Send private message
michel



Joined: 09 Feb 2008
Posts: 3

PostPosted: Sat Feb 09, 2008 23:30    Post subject: Reply with quote

shl wrote:
any hints, how to include pdflib in your package???


I've successfully installed the commercial version (7.0.2):

  1. download tar file from pdflib.com and unpack
  2. sudo mv ~/Downloads/PDFlib-7.0.2-MacOSX-Intel-php/bind/php5/php-520/libpdf_php.so /usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613/
  3. echo "extension=libpdf_php.so" > ~/50-extension-pdf.ini
  4. sudo mv ~/50-extension-pdf.ini /usr/local/php5/php.d/50-extension-pdf.ini
  5. sudo apachectl restart


To install the old pdflib lite (6.0.3) try this:

  1. unpack http://www2.entropy.ch/download/entropy-php-5.2.4-1-apache2.tar.gz (do not install!)
  2. Show Package Contents and only install the Contents/Packages/entropy-php-extension-pdflib.pkg
  3. sudo apachectl restart


Apache has to be started in 32-Bit mode! I modified the ProgramArguments in /System/Library/LaunchDaemons/org.apache.httpd.plist
Code:

   <key>ProgramArguments</key>
   <array>
      <string>arch</string>
      <string>-i386</string>
      <string>/usr/sbin/httpd</string>
      <string>-D</string>
      <string>FOREGROUND</string>
   </array>


On PPC systems download the appropriate commercial pdflib and change -i386 to -ppc.
Back to top
View user's profile Send private message
shl



Joined: 05 Feb 2008
Posts: 6

PostPosted: Sat Feb 09, 2008 23:52    Post subject: Reply with quote

tried your instructions…
everything worked right so far, but with no luck.

[09-Feb-2008 23:50:14] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613/libpdf_php.so' - (null) in Unknown on line 0

libpdf_php.so lies there... i dropped my own ini... so there should be everything fine so far... any idea?

thanks a lot for your description!
Back to top
View user's profile Send private message
michel



Joined: 09 Feb 2008
Posts: 3

PostPosted: Sun Feb 10, 2008 2:01    Post subject: Reply with quote

shl wrote:
tried your instructions…
everything worked right so far, but with no luck.

[09-Feb-2008 23:50:14] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613/libpdf_php.so' - (null) in Unknown on line 0


Did you (re)start Apache in 32-Bit mode?

Does

arch -i386 /usr/local/php5/bin/php -v

produce the same warning?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Entropy.ch Discussion Forums Forum Index -> PHP on Mac OS X All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4 ... 9, 10, 11  Next
Page 3 of 11

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group