PHP >= 5.2
- extract archive "copy_to_path.zip" all along the way of nesting
- open terminal and run
phpize sudo ./configure --enable-swephsudo makesudo make install- add "sweph.so" to 'php.ini' file (generally in /etc/php5/apache2/php.ini) extension=sweph.so
- restart your webserver (
sudo apache2 restartORsudo nginx restart)
Check the demo folder , when you run index.php the screen will display the result of the function getSunRise();