Jump to content

rebuilding the php src rpm and adding support for tokenizer?


johnnyv
 Share

Recommended Posts

Hi, the is a project called binary php which converts php code into c++ code which i really wanna try.

The version of php shipped with Mdk doesn't have the tokenizer functions enabled which is needed for binary php to work.

 

any one know if its possible to add the extra configure argument when rebuilding the php src rpm? eg) add "--enable-tokenizer"

 

I guess i will just have to edit the spec file then

 

rpm -i php.src.rpm

cd usr/src/RPM/SPECS

 

edit the php.spec file, removed the line that deleted the tokeniser extension

added --enable-tokenizer to the configure arguments.

 

rpm -ba php.spec

cd /usr/src/RPM/RPMS/i586/

upgrade the rebuilt rpms

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...