note 111938 added to lua.installation

From: Date: Mon, 15 Apr 2013 13:29:32 +0000
Subject: note 111938 added to lua.installation
Groups: php.notes 
Request: Send a blank email to php-notes+get-194479@lists.php.net to get a copy of this message
Simple guide to install phplua on CentOS 6.3: Run these commands in terminal as root: $yum install php-pear php-devel gcc lua-devel lua-static $mkdir /usr/include/lua $ln -s /usr/include/lua.h /usr/include/lua/lua.h $pecl install lua-1.0.0 Then edit /etc/php.ini and add the following line below the similar ones: extension=lua.so Finally restart your web server and you should be all done! I spent days googling around, trying and failing and gathering up what needs to be installed when you just have apache2 and php5 installed and working. Thus there is this bug preventing pecl from finding lua.h, which is fixed by the symlink created above. The bug is already submitted: https://bugs.php.net/bug.php?id=60641 Hope this info helps some body else too! ---- Server IP: 69.147.83.199 Probable Submitter: 84.239.252.69 ---- Manual Page -- http://php.net/manual/en/lua.installation.php Edit -- https://master.php.net/note/edit/111938 Del: integrated -- https://master.php.net/note/delete/111938/integrated Del: useless -- https://master.php.net/note/delete/111938/useless Del: bad code -- https://master.php.net/note/delete/111938/bad+code Del: spam -- https://master.php.net/note/delete/111938/spam Del: non-english -- https://master.php.net/note/delete/111938/non-english Del: in docs -- https://master.php.net/note/delete/111938/in+docs Del: other reasons-- https://master.php.net/note/delete/111938 Reject -- https://master.php.net/note/reject/111938 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#194479) next »